
/*
 * Copyright (C) 2022 Polygon Zone Open Source Organization .
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http:// www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 *
 * limitations under the License.
 */





#ifndef SYS_DEBUG_H
#define SYS_DEBUG_H
#include <stdio.h>
#include <stdarg.h>

#define SYS_DEBUG_ENABLE 0
#include "sys_debug_uart.h"



#if SYS_DEBUG_ENABLE == 1

#define console_print  Sys_Debug_Uart_Putchar 
 
 
#define  MAX_NUMBER_BYTES  128
 
extern int my_printf_test(void);
int sys_printf(const char *fmt, ...) ;
void Sys_Debug_Init(void);

#define PZ_SYS_DEBUG(...)    sys_printf(__VA_ARGS__)
#else

#define PZ_SYS_DEBUG(...)  
void Sys_Debug_Init(void);

#endif

//ESP_LOGI


#endif

